package com.lavida.project.system.remind.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.lavida.project.system.remind.domain.Remind;

public interface RemindMapper {
	public List<Remind> getRemindList(Remind remind);

	public long getRemindTotal(Map<String, Object> paraMap);

	public int add(Remind remind);
	
	public int edit(Remind remind);

	public Remind getRemind(String id);
	
	public List<Remind> getRemindListNoPaging(Map<String, Object> paraMap);

	@Select("select count(1) from remind where formName = #{formName} and formUrl like concat('%',#{keyNo},'%')")
	public Integer getRemindCountByCondi(@Param("formName")String formName,@Param("keyNo")String keyNo);
}
